Skip to main content
Glama

Convex MCP server

Official
by get-convex
audit-log.tsx1.03 kB
import { Loading } from "@ui/Loading"; import { toast } from "@common/lib/utils"; import { AuditLog } from "components/teamSettings/AuditLog"; import { useCurrentTeam, useTeamEntitlements } from "api/teams"; import { TeamSettingsLayout } from "layouts/TeamSettingsLayout"; import { withAuthenticatedPage } from "lib/withAuthenticatedPage"; import { useRouter } from "next/router"; export { getServerSideProps } from "lib/ssr"; function AuditLogPage() { const team = useCurrentTeam(); const auditLogsEnabled = useTeamEntitlements(team?.id)?.auditLogsEnabled; const router = useRouter(); if (auditLogsEnabled === undefined) { return <Loading />; } if (!auditLogsEnabled) { toast("info", "The audit log is only available on the Pro plan.", "upsell"); void router.push(`/t/${router.query.team}/settings/billing`); return null; } return ( <TeamSettingsLayout page="audit-log" Component={AuditLog} title="Audit Log" /> ); } export default withAuthenticatedPage(AuditLogPage);

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server